import org.apache.log4j.Logger;
import org.apache.log4j.PropertyConfigurator;

import com.bj58.argo.Argo;


public class LogTest {
	static Logger log4j = Logger.getLogger(LogTest.class);
//	static Logger log4j =  Logger.getLogger("IESendTaskLog");
	
	static{
		 PropertyConfigurator.configure(Argo.getConfigFolder()+"/IESendlog4j.properties");
	}
	 public static void main(String[] args) {
		 printLog();
	 }
	 
	 
    public static void printLog(){
//        BasicConfigurator.configure();
//        DOMConfigurator.configure("");
         
        log4j.debug("log4j debug");
        log4j.info("log4j info");
        log4j.warn("log4j warn");
        log4j.error("log4j error");
        log4j.fatal("log4j fatal");
        log4j.fatal("exception ", new NullPointerException());
    }
}
